<?php

class Application_Form_UserEdit extends Zend_Form
{

    public function init()
    {
    //	$this->addElement('text','company_id',array('label'=>'公司编号'));
    	$this->addElement('text','user_name',array('label'=>'用户名称'));
    	$this->addElement('text','login_name',array('label'=>'登录名称'));
        $this->addElement('password','password',array('label'=>'登录密码'));
        $this->addElement('password','password_confirm',array('label'=>'确认密码'));
    	$this->addElement('text','telephone',array('label'=>'电话'));
    	$this->addElement('text','email',array('label'=>'电子邮箱'));
    	$this->addElement('checkbox','is_admin',array('label'=>'是否管理员'));
    	$this->addElement('hidden','user_bh');
        $this->addElement('hidden','company_id');
    	$this->addElement('button','button',array('label'=>'保存','onClick'=>"sub_add();", "order" => 200));
    }


}

